package org.zjx.data.screen;

import org.zjx.command.entity.screen.Room;
import org.zjx.data.BaseSceneBuilder;

import java.awt.*;

public class PuTuoShanSceneBuilder extends BaseSceneBuilder {

    @Override
    protected String getSceneName() {
        return "普陀山";
    }

    @Override
    protected Dimension getSceneSize() {
        return new Dimension(95, 71);
    }

    @Override
    protected void addMonsters() {

    }

    @Override
    protected void addNpcs() {
        addNpc("引路仙女", new Point(18, 51));
        addNpc("黑熊怪", new Point(28, 27));
        addNpc("龙女宝宝", new Point(15, 39));
        addNpc("接引仙女", new Point(80, 9));
        addNpc("小熊怪", new Point(60, 65));
    }

    @Override
    protected void addRooms() {
        Room chaoYinDong = createRoom("潮音洞", new Dimension(63, 47));
        addNpcToRoom(chaoYinDong, "观音姐姐", new Point(12, 36));
        addNpcToRoom(chaoYinDong, "青莲仙女", new Point(25, 15));
        rooms.add(chaoYinDong);
    }

    @Override
    protected void addTeleports() {
        addSceneTeleport(new Point(6, 61), "潮音洞", new Point(55, 5), new Point(6, 65));
        addNpcTeleport("接引仙女", new Point(87, 4), "大唐国境", new Point(275, 110), new Point(82, 11));
        addRoomTeleport(new Point(6, 61), "潮音洞", new Point(55, 5), new Point(6, 65));
    }

    public static void main(String[] args) {
        new PuTuoShanSceneBuilder().execute("putuoshan_scene.json", "普陀山");
    }
}